.class final Lcom/burstly/lib/util/calendar/BooleanParser;
.super Ljava/lang/Object;
.source "BooleanParser.java"


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "<T:",
        "Ljava/lang/Object;",
        ">",
        "Ljava/lang/Object;"
    }
.end annotation


# instance fields
.field private final mCompareTo:Ljava/lang/Comparable;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/lang/Comparable",
            "<TT;>;"
        }
    .end annotation
.end field


# direct methods
.method constructor <init>(Ljava/lang/Comparable;)V
    .locals 0
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/Comparable",
            "<TT;>;)V"
        }
    .end annotation

    .prologue
    .line 35
    .local p0, this:Lcom/burstly/lib/util/calendar/BooleanParser;,"Lcom/burstly/lib/util/calendar/BooleanParser<TT;>;"
    .local p1, compareTo:Ljava/lang/Comparable;,"Ljava/lang/Comparable<TT;>;"
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 36
    iput-object p1, p0, Lcom/burstly/lib/util/calendar/BooleanParser;->mCompareTo:Ljava/lang/Comparable;

    .line 37
    return-void
.end method


# virtual methods
.method compare(Ljava/lang/Object;)Z
    .locals 1
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(TT;)Z"
        }
    .end annotation

    .prologue
    .line 46
    .local p0, this:Lcom/burstly/lib/util/calendar/BooleanParser;,"Lcom/burstly/lib/util/calendar/BooleanParser<TT;>;"
    .local p1, targetValue:Ljava/lang/Object;,"TT;"
    iget-object v0, p0, Lcom/burstly/lib/util/calendar/BooleanParser;->mCompareTo:Ljava/lang/Comparable;

    invoke-interface {v0, p1}, Ljava/lang/Comparable;->compareTo(Ljava/lang/Object;)I

    move-result v0

    if-nez v0, :cond_0

    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method
